package com.isoftstone.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.isoftstone.entity.CK_Prescription;
import com.isoftstone.entity.C_Prescription;
import com.isoftstone.entity.Patient;
import com.isoftstone.entity.W_Prescription;

public interface ChargeDao {
	public List<Patient> getPatient(@Param("patient_name")String patient_name,@Param("patient_idcard")String patient_idcard);
	public List<C_Prescription> getCmPrescription(@Param("guahao_id")String guahao_id);
	public List<W_Prescription> getWmPrescription(@Param("guahao_id")String guahao_id);
	public List<CK_Prescription> getCkPrescription(@Param("guahao_id")String guahao_id);
	public boolean wmUpdate(@Param("guahao_id")String guahao_id,@Param("wm_amount_payed")Double wm_amount_payed,@Param("wm_id")String wm_id);
	public boolean cmUpdate(@Param("guahao_id")String guahao_id,@Param("cm_amount_payed")Double cm_amount_payed,@Param("cm_id")String cm_id);
	public boolean ckUpdate(@Param("guahao_id")String guahao_id,@Param("ck_amount_payed")Double ck_amount_payed,@Param("ck_id")String ck_id);
	public boolean insertFee(@Param("cost_id")String cost_id,@Param("ls_price")Double ls_price,@Param("ls_data")Date ls_data);

}
